package com.tobeface.wechat.core.timestamp;

import com.tobeface.wechat.core.WeChatException;

/**
 * @author loudyn
 */
public class DuplicatedTimestampException extends WeChatException {

    /**
     * @param timestamp
     * @param nonce
     */
    public DuplicatedTimestampException(String timestamp, String nonce) {
        super(String.format("Timestamp[%s] and Nonce[nonce] is already exist!", timestamp, nonce));
    }
}
